package com.woniuxy.service;


import com.woniuxy.controller.form.AccountCheckForm;
import com.woniuxy.controller.form.AccountLoginForm;
import com.woniuxy.controller.form.AccountRegisterForm;
import com.woniuxy.controller.form.AccountUpdateForm;
import com.woniuxy.entity.Account;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.service.dto.AccountDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zz
 * @since 2023年06月13日
 */
public interface AccountService extends IService<Account> {

    Account login(AccountLoginForm accountLoginForm) throws Exception;

    void sendCode(String phone) throws Exception;

    void updateAccount(AccountUpdateForm form,Long accountId);

    Account register(AccountRegisterForm form);

    String check(AccountCheckForm form);
}
